package com.zzhou.linkinfo.clock.mvp.clockmain;

import com.zzhou.linkinfo.clock.entity.TaskBean;
import com.zzhou.linkinfo.clock.mvp.ABasicPresenter;
import com.zzhou.linkinfo.clock.mvp.IBasicView;

import java.util.HashMap;
import java.util.List;

/**
 * <desc>
 * Created by The Moss on 2019/3/12.
 */

public interface IMainContract {

    interface IView extends IBasicView{
        void onShowResult(boolean isSuccess, List<TaskBean> list);
    }
    abstract class APresenter extends ABasicPresenter{

        public APresenter(IBasicView iView) {
            super(iView);
        }
        public abstract void request();
    }
    interface IModel{
        String request(HashMap<String,Object> params);
    }
}
